package com.xo.xodemo.mapper.db1;

import com.xo.xodemo.model.BaseUser;
import com.xo.xodemo.model.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuMapper {
    List<Menu> findParentMenu(@Param(value = "positionId") Integer positionId);
    List<Menu> findChildMenu(@Param(value = "menuId") Integer menuId,@Param(value = "positionId") Integer positionId);
}
